package com.lyc.common.enums;

/**
 * 通过审核了的渠道
 * Created by 廖师兄
 * 2017-06-10 18:06
 */
public enum ChannelPassEnum {
    LINE,
    ;

    public static Boolean contain(String channel) {
        for (ChannelPassEnum channelPassEnum: ChannelPassEnum.values()) {
            if (channelPassEnum.name().equalsIgnoreCase(channel)) {
                return true;
            }
        }
        return false;
    }
}
